FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI += "\
    file://cpld-version.sh \
    file://obmc-cpld-version.service \
    "
SYSTEMD_SERVICE:${PN}-updater += "obmc-cpld-version.service"

RDEPENDS:${PN} += "bash"
SYSTEMD_SERVICE_${PN} += "obmc-cpld-version.service"
do_install:append() {
    install -m 0755 ${WORKDIR}/cpld-version.sh ${D}/usr/local/cpld-version.sh
}
